<template>
	<view class="contents">
		<u-parse :html="content"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: ``
			}
		},
		onLoad(options) {
			if(options.id){
				this.id=options.id
			}
			this.get()
		},
		methods:{
			get(){
				this.$u.post('/api/index/detail', {
				   		article_id:this.id
				   
				}, {}).then(res => {
				 	
				}).catch(err => {})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.contents{
		padding: 20rpx;
	}
</style>